import request from '@/utils/request'

export default {
  swiperList() {
    return request({
      url: '/swiper/list',
      method: 'get'
    })
  },
  flushAll(swiperList) {
    return request({
      url: '/swiper/flushAll',
      method: 'post',
      data: swiperList
    })
  },
  add() {
    return request({
      url: '/swiper/add',
      method: 'post'
    })
  }
}
